package com.zjuee.service.company.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zjuee.base.model.common.company.CompanyRegime;
import com.zjuee.base.model.common.company.CompanyWork;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;

/**
 * @author wu liang
 * @since 1.0
 */
@Data
public class CompanyVo {

    @Valid
    private CompanyInfoVo company;

    /**仓库设施信息*/
    @Valid
    private List<CompanyWork> companyWorkList;

    /**仓库信息*/
    @Valid
    private List<CompanyWorkDepositoryVo> companyWorkDepositoryList;

    /**制度信息*/
    @Valid
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private CompanyRegime companyRegime;

}
